package com.workcell.workdata.im.configuration.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;

import java.util.List;

@RefreshScope
@ConfigurationProperties(prefix = "hoxin.file.local")
public class FileLocalProperties {


    /**
     * 本地存储模式下上传接口路径，适配三方存储获取签名客户端直传
     */
    private String host;

    private List<String> buckets;
    private boolean enable;

    public boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }

    public List<String> getBuckets() {
        return buckets;
    }

    public void setBuckets(List<String> buckets) {
        this.buckets = buckets;
    }


    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }
}
